# 导包
from selenium.webdriver.support.ui import WebDriverWait
from ddt import ddt,file_data
from Po.Page import Page
from Po.Base import Base
from selenium import webdriver
import time


class TestCase():
    def setup_method(self):
        # 使用浏览器
        self.driver=webdriver.Edge()
        # self.driver=webdriver.Chrome()
        # 隐式等待
        self.driver.implicitly_wait(5)
        # 放大窗口
        self.driver.maximize_window()

    def teardown_method(self):
        # 执行后清理
        time.sleep(5)
        self.driver.quit()

    def test_001(self):
        # 执行用例
        po=Page(self.driver)
        po.test_01()
